#include <REGX52.H>
#include "xingshikongzhi.h"
#include "delay.h"


void jiadu_lift(int daxiao_a)
{
	if(daxiao_a==1)
	{
		car_doing_1(1,80,100);

	}

	else if(daxiao_a==2)
	{
		car_doing_1(1,60,100);
	}
	
	else if(daxiao_a==3)
	{
		
		car_doing_1(3,30,60);
	}
	else if(daxiao_a==4)
	{
		
		car_doing_1(3,60,60);
	}
		
}


void jiadu_right(char daxiao_b)
{
	if(daxiao_b==1)
	{
		car_doing_1(1,100,80);
	}

	else if(daxiao_b==2)
	{
		car_doing_1(1,100,60);
	}
	
	else if(daxiao_b==3)
	{
		car_doing_1(4,60,30);
	}
	else if(daxiao_b==4)
	{
		car_doing_1(4,60,60);
	}
}